<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\NoteS */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="row">

<div class="col-sm-12">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'fieldConfig' => [  //统一修改字段的模板

            'labelOptions' => ['class' => 'form-inline'],  //修改label的样式
        ],
    ]); ?>

    <?= $form->field($model, 'title')->input('text',['value'=>$model->title,'style'=>'width:200px']) ?>
    <?= $form->field($model, 'area')->dropDownList(['吴中区'=>'吴中区','相城区'=>'相城区','高新区'=>'高新区','园区'=>'园区','吴江'=>'吴江','苏州'=>'苏州','昆山'=>'昆山','张家港'=>'张家港','常熟'=>'常熟'], ['prompt'=>'请选择','style'=>'width:120px']) ?>
    <?= $form->field($model, 'status')->dropDownList(['已处理'=>'已处理','已关注'=>'已关注','处理橙色预警'=>'处理橙色预警','未处理'=>'未处理'], ['prompt'=>'请选择','style'=>'width:120px']) ?>

    <div class="form-group">
        <?= Html::submitButton('搜索', ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton('重置', ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
</div>
